package com.bzyd.shiro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bzyd.shiro.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色表Mapper接口
 */
public interface RoleMapper extends BaseMapper<Role> {
    List<Role> findRoleByUserId(@Param("userId")Integer userId);
}
